package com.gzbsoft.sc.modules.sys.service;
import com.gzbsoft.sc.common.utils.R;
import com.gzbsoft.sc.modules.app.form.RegisterForm;
import com.gzbsoft.sc.modules.sys.entity.SysUser;

import java.util.List;
import java.util.Optional;
public interface SysUserService extends BaseService<SysUser, Long> {
    List<Long> queryAllMenuId(Long userId);
    Optional<SysUser> queryByUserName(String username);
    SysUser selectUserInfo(String username,String id);
    int addUserInfo(String username ,String password);
    void register(RegisterForm form);
    R isRegisterByTel(String mobile);
}
